package com.lap.auth.domain.shared.errors;

import com.lap.framework.dto.result.ErrorCode;
import lombok.Getter;

@Getter
public enum LoginError implements ErrorCode {
  LOGIN_EXPIRED(580, "AUTH-LOGIN-P2-001", "login.error.expired"),
  LOGIN_TOKEN_ERROR(580, "AUTH-LOGIN-P2-002", "login.error.parser_fail"),
  ;

  private final int externalCode;
  private final String internalCode;
  private final String messageKey;

  LoginError(int externalCode, String internalCode, String messageKey) {
    this.externalCode = externalCode;
    this.internalCode = internalCode;
    this.messageKey = messageKey;
  }
}
